home *** CD-ROM | disk | FTP | other *** search
- Path: newsjunkie.ans.net!philabs!usenet
- From: abf@philabs.research.philips.com (Andrew Feldman)
- Newsgroups: comp.lang.c++
- Subject: HELP! Updating database via ODBC
- Date: Wed, 07 Feb 1996 20:06:13 GMT
- Organization: Philips Laboratories, Briarcliff, NY 10510
- Distribution: inet
- Message-ID: <4fam20$653@philabs.research.philips.com>
- NNTP-Posting-Host: idrpc5.philabs.research.philips.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- I'm writing a Visual C++ program which handles MS Access data via
- ODBC. While I was only reading from the database, everything was just
- fine. But WRITING is a pain in the neck, because by default it's very
- slow (something like 1sec per record). I know about SQLSetPos function
- which is supposed to work 5 times faster. I even have a sample piece
- of code with this function. I use ODBC via Microsoft Foundation Class
- Library, which, as I see in the source code, supports SQLSetPos. But I
- never could make it work. And converting the program from good
- object-oriented style into raw C gives me even more pain than its low
- speed. I'm sure that I'm not the first one facing such a problem,
- that's why I'm writing here for help.
-
- My environment:
- - Windows NT 3.5;
- - MS Visual C++ version 2.0;
- - MS Access version 2.0;
- - MS Access ODBC driver version 2.0 (I also tried 3.0).
-
- Thank you all.
- Andrew Feldman.
-
-